﻿using BJoin.Application.BObject;
using BJoin.Common;
using System.ComponentModel;

namespace BJoin.MicroSVC.Sample.DataContract.Dtos
{
    public enum EnumDropDown
    {
        /// <summary>
        /// 文件格式
        /// </summary>
        [ReferenceEnumType(typeof(EnumMessage))]
        Message = 0,
        /// <summary>
        /// 文件格式2
        /// </summary>
        [ReferenceEnumType(typeof(EnumFileFormat))]
        FileFormat = 1
    }
    public enum EnumFileFormat
    {
        /// <summary>
        /// Pdf格式
        /// </summary>
        [Description("Pdf格式")]
        Pdf = 0,
        /// <summary>
        /// Word格式（doc/docx）
        /// </summary>
        [Description("Word格式")]
        Word = 1,
        /// <summary>
        /// Text格式
        /// </summary>
        [Description("Txt格式")]
        Txt = 2

    }
}
